package Models
{
	import mx.collections.ArrayCollection;

	public class Model
	{
		[Bindable]
		public var arr : ArrayCollection;
		
		[Bindable]
		public var lowerArr : ArrayCollection;
		
		[Bindable]
		public var listItems : ArrayCollection;
		
		public function Model()
		{
			arr = new ArrayCollection([
				new GridRow(1, "Buildings", 165001, "BR-001", "cop://documents/buildings"),
				new GridRow(2, "Progress Reports", 165002, "RD-001", "cop://documents/progress_reports"),
				new GridRow(3, "Extras", 165003, "HR-001", "cop://documents/extras"),
				new GridRow(4, "General", 165004, "HR-001", "cop://documents/general"),
				new GridRow(5, "Cost Reports", 165005, "RD-002", "cop://documents/cost_reports"),
				new GridRow(6, "Administration", 165006, "HR-003", "cop://documents/administration") 		
			]);
			
			lowerArr = new ArrayCollection();
			
			listItems = new ArrayCollection();
			listItems.addItem(new OrderListItem(true, false, false, "Title"));
			listItems.addItem(new OrderListItem(true, false, false, "Reference ID"));
			listItems.addItem(new OrderListItem(true, false, false, "Document ID"));
			listItems.addItem(new OrderListItem(true, false, false, "Link"));
			
		}
	}
}